TextureSet

constructor(id: Identifier)

A set of textures where all three stored textures are the exact same. The sprite rendered will not change based on object state.

Author

fzzyhmstrs

Since

0.6.0

Parameters

id

Identifier the "normal" texture, rendered under any circumstance


constructor(tex: Identifier, disabled: Identifier, highlighted: Identifier)

Parameters

tex

Identifier the "normal" texture, rendered when the object is active but not focused

disabled

Identifier rendered when the object is disabled. This has higher priority than highlighted, so will render focused or not.

highlighted

Identifier rendered then the object is active and focused.